
<div class="page-sidebar-wrapper">
	<div class="page-sidebar navbar-collapse collapse">
		<ul class="page-sidebar-menu " data-auto-scroll="true" data-slide-speed="200" id="projects">

			<li class="sidebar-toggler-wrapper" style="height: 52px;
				background-color: #2B2A28;">
					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
				<div class="sidebar-toggler">
				</div>

				<h4 class="platform-title" >管理参考基因组</h4>

					<!-- END SIDEBAR TOGGLER BUTTON -->
			</li>

			<li class="left-height" id="toSpecies">
				<a href='@routes.SpeciesController.toAdminSpecies()' class="left-a-open">
					<i class="fa fa-upload"></i>
					<span class="title">新增参考基因组</span>
					<span class='selected'></span>
				</a>
			</li>

			<li class="left-height" id="speciesInfo">
				<a href='@routes.SpeciesController.adminSpeciesInfo()' class="left-a-open">
					<i class="fa fa-sliders"></i>
					<span class="title">参考基因组一览</span>
					<span class='selected'></span>
				</a>
			</li>

		</ul>
	</div>
</div>

<script>
		$(function () {
			var href = window.location.href;
			var array = href.split("/");
			var code = array[array.length - 1];
			if (code.indexOf("?") != -1) {
				var id = code.split("?")[0];
				$("#" + id).addClass('active')
			} else {
				$("#" + code).addClass('active')
			}

		})

</script>








